package com.tuanzi.loan.business.service.family;

import com.tuanzi.loan.business.entity.common.CommProductChannel;
import com.tuanzi.loan.business.entity.family.LargeAmountChannelManage;
import com.tuanzi.loan.business.entity.family.LoanChannelNdInfo;
import com.tuanzi.loan.core.service.BaseAuditService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.family.LargeAmountChannelManageSearchRequest;
import com.tuanzi.loan.vo.response.family.LargeAmountChannelManageSearchResponse;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface LargeAmountChannelManageService  extends BaseAuditService<LargeAmountChannelManage, Long> {
    public Page<LargeAmountChannelManageSearchResponse> list(PageSearcher<LargeAmountChannelManageSearchRequest> pageSearcher);

    LargeAmountChannelManage saveLargeAmountChannelManage(LargeAmountChannelManageSearchRequest request);

    void deleteByid(LargeAmountChannelManageSearchResponse response);

    Integer updateLargeAmountChannelManage(LargeAmountChannelManageSearchRequest request);

    List<String> selectDistinctCFrom();


    List<CommProductChannel> getChannelInfo(Integer prdid);

    Integer addChannelND(LoanChannelNdInfo info);

    void addBatchChannelNd();
}
